/* 
 * File:   labelled_spin_box.hpp
 * Author: jolo
 *
 * Created on 5. Oktober 2011, 21:24
 */

#ifndef WIDGETS_LABELLED_SPIN_BOX_HPP
#define	WIDGETS_LABELLED_SPIN_BOX_HPP

#include "spin_box.hpp"

namespace widgets
{
    class field_label;
    class widget_panel;

    class labelled_spin_box : public spin_box
    {
        Q_OBJECT
    public:
        labelled_spin_box(widget_panel* p, const QString& lbl);
        virtual ~labelled_spin_box();

        field_label* label() const
        {
            return lbl_;
        }

    private:
        field_label* lbl_;

    };
}

#endif	/* LABELLED_SPIN_BOX_HPP */

